package com.gopay.common.domain.log;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * @author lianpeng
 * 风险管理-安全日志查询-安全日志分析详情表
 */
@Entity
@Table(name = "ANALYSIS_SECURITY_LOG_DTL")
public class AnalysisSecurityLogDtl extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1341616182528010489L;
	
	/** 分析日志详情主键 **/
	private Long dtlId;
	
	/** 分析日志详情外键 **/
	private Long analysisId;
	
	/** 发起人客户ID **/
    private String launchCustId;
    
    /** 发起人客户名称**/
    private String launchCustName;
    
    /** 统计**/
    private Integer analysisCount;
    
    @Id
    @SequenceGenerator(name = "SQ_ANALYSIS_SECURITY_LOG_DTL", sequenceName = "SQ_ANALYSIS_SECURITY_LOG_DTL",initialValue = 1,allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SQ_ANALYSIS_SECURITY_LOG_DTL")
    @Column(name = "DTL_ID")
	public Long getDtlId() {
		return dtlId;
	}

	public void setDtlId(Long dtlId) {
		this.dtlId = dtlId;
	}
	
	@Column(name = "ANALYSIS_ID")
	public Long getAnalysisId() {
		return analysisId;
	}

	public void setAnalysisId(Long analysisId) {
		this.analysisId = analysisId;
	}
	
	@Column(name = "LAUNCH_CUST_ID")
	public String getLaunchCustId() {
		return launchCustId;
	}

	public void setLaunchCustId(String launchCustId) {
		this.launchCustId = launchCustId;
	}
	
	@Column(name = "LAUNCH_CUST_NAME")
	public String getLaunchCustName() {
		return launchCustName;
	}

	public void setLaunchCustName(String launchCustName) {
		this.launchCustName = launchCustName;
	}
	
	@Column(name = "ANALYSIS_COUNT")
	public Integer getAnalysisCount() {
		return analysisCount;
	}

	public void setAnalysisCount(Integer analysisCount) {
		this.analysisCount = analysisCount;
	}
    
}
